package cn.yx.permission.service.impl;

import cn.yx.common.mybatis.service.AbstractMybatisPlusService;
import cn.yx.permission.cond.PermissionCond;
import cn.yx.permission.dos.PermissionDo;
import cn.yx.permission.dto.PermissionDto;
import cn.yx.permission.mapper.PermissionMapper;
import cn.yx.permission.mapping.PermissionMapping;
import cn.yx.permission.service.PermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>PermissionService权限服务接口实现类</p>
 *
 * @author Wgssmart
 */
@Service
@Slf4j
public class PermissionServiceImpl
        extends AbstractMybatisPlusService<PermissionDo,
        PermissionDto,
        PermissionCond,
        Long,
        PermissionMapper>
        implements PermissionService {

    private final PermissionMapper permissionMapper;

    public PermissionServiceImpl(PermissionMapper permissionMapper) {
        super(permissionMapper, PermissionMapping.INSTANCE);
        this.permissionMapper = permissionMapper;
    }
}
